Holds information about a tab in the window.
More...
Holds information about a tab in the window.
◆ Tab()
nkWinUi::TabWindow::Tab::Tab |
( |
| ) |
|
◆ ~Tab()
virtual nkWinUi::TabWindow::Tab::~Tab |
( |
| ) |
|
|
virtual |
◆ getLabel()
const char* nkWinUi::TabWindow::Tab::getLabel |
( |
| ) |
const |
◆ getAssociatedWin()
Window* nkWinUi::TabWindow::Tab::getAssociatedWin |
( |
| ) |
const |
- Returns
- The associated window, aka the window within the tab.
◆ getId()
int nkWinUi::TabWindow::Tab::getId |
( |
| ) |
const |
- Returns
- The id of the tab.
◆ getParentWindow()
TabWindow* nkWinUi::TabWindow::Tab::getParentWindow |
( |
| ) |
const |
- Returns
- The parent tab window.
◆ setLabel()
virtual void nkWinUi::TabWindow::Tab::setLabel |
( |
const std::string_view & |
label, |
|
|
bool |
autoUpdate = true |
|
) |
| |
|
virtual |
Sets the tab label.
- Parameters
-
label | The label to set. |
autoUpdate | If the tab should visually be updated. |
◆ setAssociatedWin()
void nkWinUi::TabWindow::Tab::setAssociatedWin |
( |
Window * |
win | ) |
|
Sets the associated window in the tab.
- Parameters
-
win | The window to associate. |
◆ setId()
void nkWinUi::TabWindow::Tab::setId |
( |
int |
id | ) |
|
Sets the id of the tab.
- Parameters
-
◆ setParentWindow()
void nkWinUi::TabWindow::Tab::setParentWindow |
( |
TabWindow * |
parent | ) |
|
Sets the parent window of the tab.
- Parameters
-
parent | The parent tab window. |
The documentation for this class was generated from the following file:
- Documentation/Headers/NilkinsWinUi/Components/TabWindow.h